<template>
  <div>
       <mc-text style="font-size: 10px" v-model="href">{{a+b}}234</mc-text>
       <el-input v-model="input"></el-input>
       <el-button @click="print">打印</el-button>
       <el-button @click="change">改变</el-button>
  </div>
</template>

<script>
import McText from "./components/McText";
export default {
    data(){
      return {
        href:"sss",
        a:1,b:2,
        input:""
      }
    },
    components:{
      McText,
    },
    methods:{
        print(){
            console.log(this.href)
        },
        change(){
            //this.form.userName = false;
            this.href = null;
        }
    }
}
</script>

<style>

</style>
